D3D_BOXTEXT

This command is used to draw antialiased text within a defined region. The text will be word-wrapped if necessary.
The Font ID is that of a font created by D3D_FONT. Horizontal alignment can be 0 - Left Aligned, 1 - Centered, or 2 - Right Aligned.
Vertical alignment can be 0 - Top Aligned, 1 - Centered, 2 - Bottom Aligned. Specifying a colour value will override the colour set
by D3D_COLOR.

NOTE: This command can only be used between D3D_STARTTEXT and D3D_ENDTEXT

SYNTAX

D3D_BOXTEXT Font ID, X, Y, Width, Height, Horizontal Alignment, Vertical Alignment, String$
D3D_BOXTEXT Font ID, X, Y, Width, Height, Horizontal Alignment, Vertical Alignment, String$, Colour

RELATED INFO

D3DFunc Commands Menu
Index

EXAMPLE

View Showcase Example